package cn.shop.gateway.utils;

import cn.shop.gateway.MainApp;
import javafx.fxml.FXMLLoader;

/**
 * @author : 李一涵
 * @date : Created in 2021-12-7 15:43
 * @description :
 */
public class PaneUtil {

    public static FXMLLoader loadPane(String uri) {
        FXMLLoader loader = new FXMLLoader();
        loader.setLocation(MainApp.class.getResource(uri));
        return loader;
    }

}
